<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN""http:// www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" >
		<head>
			<meta http-equiv="content-type" content="text/html; charset=utf-8">
			<meta name="viewport" content="width=device-width" />
			<meta name="author" content="InputHub">
			<meta name="contactstate" content="SENEGAl">
				<title> GEEKTIONNAIRE </title>
			
				<link rel="stylesheet" href="../css/style.css"/>
				 <link rel="stylesheet" href="../css/ajout.css"/>
				
				
		</head>

		
<body>

<?php include('connexiondb.php'); ?>
<div class="contenu">



<div class="menu">
			
			<ul>
				<li><a id="home" href="indexe.php">  <img class="home" src="../img/Home.png" height=28px/></a></li>
				<li>  <a href="geektionnaire.php">  Geektionnaire        </a></li>
				<li> <a href="ajout.php">   Definition		</a> </li>
				<li> <a href="connexion.php">   Connexion	 		</a></li>
				<li> </li>
			
			</ul>
<input type="text" size="25" placeholder="Rechercher"   id="rech"/>
			
<a href="" > <img src="../img/logo_fb.png" height=15px id="face" /></a>
<a href="" > <img src="../img/logo_tw.png" height=15px id="twitter" /></a>
<a href="" > <img src="../img/g.jpg" height=14px id="google" /></a>			
        
</div>
<div class="corp">
		<p id="add"> Ajouter Un Mot <p/> 
	
	
		<div class="add">
		<form class="form-add" role="form" method="POST" action="ajoutRealise.php">
        <h4> MOT </h4><input name="mot" type="text" class="form-control" placeholder="Mot" required autofocus id="mot"><br/>
        <h4> DEFINITION </h4><textarea name="def" rows="6" cols="35" id="def" placeholder="Definition"></textarea>
		<div class="categorie">

						  <h4>CATEGORIE</h4>
						   <table width="337" border="0">
                            <tr>
                              <td width="3331" height="30">
							  <select name="cate"  id="cate">
                                <option ></option>
                                <?php 
                                   $reqCat='select nomCategorie from CATEGORIE'; 
								   $result=mysql_query($reqCat);
								   while ($info=mysql_fetch_array($result)) {
								   	?>
								   	<option value="<?php echo $info['nomCategorie']; ?>" ><?php echo $info['nomCategorie']; ?></option>
								   	<?php
								   }
								  ?>
                              </select>
							  </td>
							  </tr>
							  </table>
        </div>        
        <div class="dico">
						  <h4>DICTIONNAIRE</h4>
						   <table width="337" border="0">
                            <tr>
                              <td width="3331" height="30">
							  <select name="dico"  id="dico">
                                <option ></option>
                                <?php 
                                   $reqCat='select nomDictionnaire from DICTIONNAIRE'; 
								   $result=mysql_query($reqCat);
								   while ($info=mysql_fetch_array($result)) {
								   	?>
								   	<option ><?php echo $info['nomDictionnaire']; ?></option>
								   	<?php
								   }
								  ?>
                              </select>
							  </td>
							  </tr>
							  </table>
        </div>                
               
		
		
		
		
		
		
		
		
		
		        <button class="btn btn-lg btn-primary btn-block" type="submit" id="btn">Ajouter</button>
		</form> </br>
	  
	  
		
		
	
	
			
	
	
	
	
	
	





</div>

<div class="footer">
<p id="hub">
					&copy; Copyright  by InputHub
</p>

</div>

</div>
</body>

</html>